package com.situ.domain;

import java.io.Serializable;

public class Major implements Serializable{
	/** serialVersionUID*/  
    private static final long serialVersionUID = 123413541L;
    
    private int majorId;
	private String majorName;

	@Override
	public String toString() {
		return "majorId=" + majorId + "\tmajorName=" + majorName;
	}

	// 构造器
	public Major() {
		super();
	}

	public Major(int majorId, String majorName) {
		super();
		this.majorId = majorId;
		this.majorName = majorName;
	}

	// getter setter
	public int getMajorId() {
		return majorId;
	}

	public void setMajorId(int majorId) {
		this.majorId = majorId;
	}

	public String getMajorName() {
		return majorName;
	}

	public void setMajorName(String majorName) {
		this.majorName = majorName;
	}

}
